<template>
    <bi-card title="驱动列表">
        <driver-list :type="type" ref="list"></driver-list>
        <template #footer>
            <bi-button type="primary" @click="$refs.list.add()" icon="fa-plus" >添加新驱动</bi-button>
        </template>
    </bi-card>
</template>

<script>
import driverList from '../driver/list.vue';
export default{
    components:{
        driverList
    },
    props:{
        type:{
            type:String,
            default:''
        },
        
    },
    
    
}
</script>

<style>

</style>